package com.example.siyun.pojo;

import java.util.List;

public class XiaTree {
    private int id;
    private String title;
    private int pid;
    private List<XiaTree> child;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<XiaTree> getChild() {
        return child;
    }

    public void setChild(List<XiaTree> child) {
        this.child = child;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "XiaTree{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", pid=" + pid +
                ", child=" + child +
                '}';
    }
}
